package com.ganbo.ms.java8.lambda;

/**
 * @author ganbo
 * @date 2022/12/14 19:30
 */
public class LambdaDemo1 {


    public static void goSwimming(Swimmable swimmable) {
        swimmable.swimmging(" ganbo ");
    }


    public static void main(String[] args) {
        goSwimming(o -> System.out.println("hello " + o));
    }

}
